package com.sjd.mall.domain;

import lombok.Builder;
import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName: sjd
 * @Package: com.sjd.mall.domain
 * @ClassName: SjdAccountAddrDO
 * @Author: genglong
 * @Description: 积分明细表
 * @Date: 2022/1/12 13:50
 * @Version: 1.0
 */
@Data
@Builder
@Table(name = "sjd_account_integral_details")
public class SjdIntegralDetailDO implements Serializable {

    private static final long serialVersionUID = -8031966375635347225L;

    /**
     * 自增id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 账户id
     */
    private Long accountId;

    /**
     * 会员id
     */
    private Long memberId;

    /**
     * 积分类型 1-打卡，2-消费(升级土地)
     */
    private String integralType;

    /**
     * 积分数
     */
    private Integer integralNum;

    /**
     * 图片url
     */
    private String imageUrl;

    /**
     * 描述
     */
    private String description;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;
}
